package com.supermap.dubbo.api.advisoryinfo.entity;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

/**
 * @author lxs
 * @Title:咨询 点赞 评论返回前端的信息的实体类
 * @Description:
 * @date 2018/8/22  10:40
 */
@SuppressWarnings("serial")
public class AdvAllInfo implements Serializable {
    /**
     * 咨询ID
     */
    private Integer id;
    /**
     * 作物名称
     */
    private String cropName;
    /**
     * 咨询问题
     */
    private String  question;
    /**
     * 咨询发布人名称
     */
    private String publisherName;
    /**
     * 咨询发布地址
     */
    private String publisherAddress;
    /**
     * 咨询发布人头像
     */
    private String publisherHeadImage;
    /**
     * 上传的咨询图片
     */
    private String publisherAdvImg;
    /**
     * 咨询的时间
     */
    private Date publisherTime;
    /**
     * 评论内容集合
     */
    private List<AdvComment> commentList=new ArrayList<>();
    /**
     * 点赞标识 0未点赞 1 点过赞
     */
    private Integer isPraise;
    /**
     * 对该咨询点赞的总数
     */
    private int praiseNums;
    /**
     * 作物周期
     */
    private String development;
    /**
     * 经度
     */
    private String lon;
    /**
     * 纬度
     */
    private String lat;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getQuestion() {
        return question;
    }

    public void setQuestion(String question) {
        this.question = question;
    }

    public String getPublisherName() {
        return publisherName;
    }

    public void setPublisherName(String publisherName) {
        this.publisherName = publisherName;
    }

    public String getPublisherAddress() {
        return publisherAddress;
    }

    public void setPublisherAddress(String publisherAddress) {
        this.publisherAddress = publisherAddress;
    }

    public String getPublisherHeadImage() {
        return publisherHeadImage;
    }

    public void setPublisherHeadImage(String publisherHeadImage) {
        this.publisherHeadImage = publisherHeadImage;
    }

    public String getPublisherAdvImg() {
        return publisherAdvImg;
    }

    public void setPublisherAdvImg(String publisherAdvImg) {
        this.publisherAdvImg = publisherAdvImg;
    }

    public Date getPublisherTime() {
        return publisherTime;
    }

    public void setPublisherTime(Date publisherTime) {
        this.publisherTime = publisherTime;
    }


    public List<AdvComment> getCommentList() {
        return commentList;
    }

    public void setCommentList(List<AdvComment> commentList) {
        this.commentList = commentList;
    }

    public Integer getIsPraise() {
        return isPraise;
    }

    public void setIsPraise(Integer isPraise) {
        this.isPraise = isPraise;
    }

    public int getPraiseNums() {
        return praiseNums;
    }

    public void setPraiseNums(int praiseNums) {
        this.praiseNums = praiseNums;
    }

    public String getCropName() {
        return cropName;
    }

    public void setCropName(String cropName) {
        this.cropName = cropName;
    }

    public String getDevelopment() {
        return development;
    }

    public void setDevelopment(String development) {
        this.development = development;
    }

    public String getLon() {
        return lon;
    }

    public void setLon(String lon) {
        this.lon = lon;
    }

    public String getLat() {
        return lat;
    }

    public void setLat(String lat) {
        this.lat = lat;
    }
}
